<template>
	<view>
		Hello Shop {{query.id}}
		<button @click="back">返回</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				query: {}
			}
		},
		onLoad(option) {
			console.log(option);
			this.query = option;
		},
		methods: {
			back() {
				uni.navigateBack({
					delta: 1
				})
			}
		}
	}
</script>

<style>

</style>